package com.yejiali.backend.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yejiali.backend.config.JackSon.UserRoleSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:yejiali
 * @Date:2025/5/10-05-10-19:53
 * @Decsription:com.yejiali.backend.entity.vo
 * @Version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVO {
    //用户id
    private Long id;
    //用户名
    private String username;
    //真实姓名
    private String realName;
    //头像
    private String avatar;
    //手机号
    private String phoneNumber;
    //邮箱
    private String email;
    //角色  一级审核员，二级审核员
    @JsonSerialize(using = UserRoleSerializer.class)
    private String role;

}
